﻿using PowerHub.MES.DTO.Equipment.DTO;
using PowerHub.MES.DTO.Equipment.QueryDTO;
using PowerHub.MES.DTO.Shopfloor.DTO;
using PowerHub.MES.DTO.Shopfloor.QueryDTO;
using PowerHub.MES.Entities.Equipment;
using PowerHub.MES.Entities.Shopfloor;
using PowerHub.MES.ReturnEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PowerHub.MES.IServices.IEquipment
{

    /// <summary>
    /// 设备类别接口层
    /// </summary>
    public interface IEquipment_EquipmentClassifyServices
    {
        /// <summary>
        /// 获取设备类别列表
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationPageResult<List<Equipment_EquipmentClassify>>> GetEquipment_EquipmentClassifyPageListAsync(QueryEquipment_EquipmentClassifyDTO query);


        /// <summary>
        /// 添加设备类别
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationResult<bool>> CreateEquipment_EquipmentClassifyAsync(Equipment_EquipmentClassifyDTO query);

        /// <summary>
        /// 批量删除设备类别
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationResult<bool>> DeletionEquipment_EquipmentClassifyAsync(List<string>? ids);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationResult<bool>> UpdateEquipment_EquipmentClassifyAsync(Equipment_EquipmentClassifyDTO query);
    }
}
